package com.model.vo.sys.menu;

import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.util.List;

@Data
@Builder
public class ImportSysMenuVO {
    @ApiModelProperty(value = "导入成功数量",required = true)
    Integer importSuccess;
    @ApiModelProperty(value = "导入失败数量",required = true)
    public Integer getImportFailed(){
        return errorSysMenuVOList.size();
    }
    @ApiModelProperty(value = "导入失败列表",required = true)
    List<ErrorSysMenuVO> errorSysMenuVOList;
}
